﻿<!--btnSave-->
<telerik:RadButton 
    x:Class="FU.Capstones.IMS.Web.Silverlight.Controls.LoadFromFileButtonControl" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:Commands="clr-namespace:Microsoft.Practices.Prism.Commands;assembly=Microsoft.Practices.Prism" 
    xmlns:Data="clr-namespace:System.Windows.Data;assembly=System.Windows" 
    Style="{StaticResource TRadButtonNormalStyle}"
    Width="170"
    Commands:Click.Command="{Data:Binding Path=UploadCommand}"
    >
    <ContentControl HorizontalAlignment="Center" VerticalAlignment="Center">
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20" />
                <ColumnDefinition Width="150" />
            </Grid.ColumnDefinitions>
            <Image
                        Grid.Column="0"
                        Source="../Images/UploadIcon.png"
                        Style="{StaticResource InnerImageStyle}"/>
            <TextBlock 
                        Grid.Column="1"
                        Text="{StaticResource LoadFromFileButtonText}"  
                        Style="{StaticResource InnerTextBlockStyle}" />
        </Grid>
    </ContentControl>
</telerik:RadButton>
